SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67568: Weekly cron schedules in SAS® Job Flow Scheduler are off by one on Linux systems when a specific day is selected

DetailsAboutRate It

When you schedule a weekly task on a specified day with SAS Job Flow Scheduler in a non-grid environment, the day that is actually scheduled in cron is a day later than expected. For example, Sunday in crontab is day 0, but SAS Job Flow Scheduler uses day 1 instead. Other days are similarly off by one.

You can verify that you are affected by this issue with the following steps:

  1. Deploy a new flow to SAS Job Flow Scheduler.
  2. Schedule the flow with a recurrence of Weekly. Select the interval day as Sunday.
  3. Review the crontab -l output on the scheduling server, typically the compute environment.
  4. The cron job should be listed in this format: minutes hours * * 0 job command.

    However, if you are impacted by this issue, you see that the crontab is scheduled with a 1 (for Monday) in the day field instead of the 0 (for Sunday) that you expect to see.

Workaround

You can work around this issue by using the command crontab -e -u user-name to manually edit the crontab to use the correct day.

A hot fix is planned for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Job Flow SchedulerLinux for x649.469.479.4 TS1M69.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.